<style>
    .pageFormContent dl dt {
        width: 100px;
    }
    
    .pageFormContent dl dd {
        width: 220px;
    }
</style>
<div class="pageContent">
    <form method="post" action="{:U('Supplier/user_add')}" onsubmit="return validateCallback(this,dialogAjaxDone);">
        <input type="hidden" name="id" value="{$info['id']}" />
		<input type='hidden' name='type' value='{$type}' />
		
		<div class="tabs" currentIndex="0" eventType="click">
		
		<div class="tabsHeader">
		<!--<div class="tabsHeaderContent">
			<ul>
				<li><a href="javascript:;"><span>基本信息</span></a></li>
				{if $user_smw}
				<li><a href="javascript:;"><span>云采购</span></a></li>
				{/if}
				{if $user_o2o}
				<li><a href="javascript:;"><span>云购</span></a></li>
				{/if}
			</ul>
		</div>-->
	</div>
	
		<div class="pageFormContent nowrap" layoutH="97">
            <fieldset>
                <legend>
                    基本信息
                </legend>
		    <dl>
                <dt>
		用户名：
                </dt>
                <dd>
					{$list['username']}
                </dd>
            </dl>

		  	<dl>
                <dt>
		联系人：
                </dt>
                <dd>
                    {$list['contacts']}
                </dd>
            </dl>
			     
         
	      	<dl>
                <dt>
      	公司：
                </dt>
                <dd>
                   {$list['supplier_contact']}
                </dd>
            </dl>
          	<dl>
                <dt>
      	地址：
                </dt>
                <dd>
                    {$list['the_supplier']}
                </dd>
            </dl>
			   	<dl>
            <dt>
      	电话：
                </dt>
                <dd>
                    {$list['supplier_phone']}
                </dd>
            </dl>

			       
		
            <!--
			<dl>
                <dt>
                    是否激活：
                </dt>
                <dd>
                    <input name='status' type='radio' checked='checked'checked='checked' />是 <input name='sex' type='radio'>否
                </dd>
            </dl>
			-->
             <!--
			 <dl>
                <dt>
                    平台：
                </dt>
                <dd>
                   <select class="combox" name='platform' ref="combox_platform" refUrl="{:U('User/platform_role')}&platform={value}">
                   	<option value='' selected='selected'>请选择</option>
					<volist name='platform' id='p'>
						<option value='{$p.value}'>{$p.title}</option>
					</volist>
                   </select>
                </dd>
            </dl>
			-->
		</fieldset>
			
			<!--
			 <fieldset>
                <legend>
                    账户信息
                </legend>
            <dl>
                <dt>
                    真实姓名：
                </dt>
                <dd>
                    <input type='text' name='data[relname]' value='' />
                </dd>
            </dl>
            <dl>
                <dt>
                    公司名称：
                </dt>
                <dd>
                    <input type="text" name="data[company]" maxlength="20" class="required autoinput" {if !$info['email']}
 remote="{:U($module_name.'/field_exist',array('tn'=>'ProductBrand','fn'=>'email'))}"{/if}
 alt="请输入邮箱" value="{$info['email']}"/>
                </dd>
            </dl>
      
            <dl>
                <dt>
                    性别：
                </dt>
                <dd>
                    <input name='data[sex]' type='radio' checked='checked' />男 <input name='sex' type='radio'>女
                </dd>
            </dl>
            <dl>
                <dt>
                    电话：
                </dt>
                <dd>
                    <input type='text' name="data[tel]" value="{$info['mobile']}"/>
                </dd>
            </dl>
    
            <dl>
                <dt>
                    地址：
                </dt>
                <dd>
                    <select class="combox" name="data[province]" ref="w_combox_city" refUrl="{:U('User/area')}&id={value}">
                    	<option value='' selected='selected'>请选择省</option>
						<volist name='provinces' id='pro'>
							<option value='{$pro.id}'>{$pro.name}</option>
						</volist>
                    </select>
					
					<select class="combox" name="data[city]" id="w_combox_city" ref="w_combox_area" refUrl="{:U('User/area')}&id={value}">
                    	<option value='' selected='selected'>请选择市</option>
                    </select>
					<select class="combox" name="data[area]" id="w_combox_area"> 
                    	<option value='' selected='selected'>请选择区</option>
                    </select>
					<textarea></textarea>
                </dd>
            </dl>
			</fieldset>
			-->
        </div>
		
		<div>
		</div>
        <div class="formBar">
            <ul>
               <!-- <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">
                                保存
                            </button>
                        </div>
                    </div>
                </li>-->
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">
                                取消
                            </button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
	</div>
    </form>
	
</div>
<script>
$(function(){
//	$('form').ketchup();
//	$('div.tabsHeaderContent li').live({
//		"click":function(){
//			$('div.ketchup-error').css({"opacity": 0,"display":"none"});
//		}
//	});
//	$('button').live({"click":function(){
//			$('div.ketchup-error').css({"opacity": 0,"display":"none"});
//		}
//	});
});

</script>